<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

<!--  <div style="float:left"><IMG ALIGN="bottom" SRC="http://www.sanger.ac.uk/i/sanger-logo.png"></div> -->
<div>
<div id="headerTitle"><fmt:message key="site.title"/></a></div>
<div class="subHeader">
    <!-- <fmt:message key="site.copyright"></fmt:message> -->
    <div style="float:left">
    <!--
        <a href="<c:url value="/"/>"><fmt:message key="button.home"/></a>
    &nbsp; &nbsp; &nbsp; &nbsp;
    -->
    	<sec:authorize ifAllGranted="ROLE_USER">
        <fmt:message key="button.user"/>:
			<sec:authentication property="principal.username"/>
    	</sec:authorize>
    </div>
    <div align="right">
    &nbsp;
    <sec:authorize ifAllGranted="ROLE_USER">
        <a href="<c:url value="/logout"/>"><fmt:message key="button.logout"/></a>
    </sec:authorize>
    </div>
</div>
</div>